package controllers;

import java.util.ArrayList;
import java.util.List;

import models.Category;
import models.User;
import play.cache.Cache;
import play.mvc.Before;
import play.mvc.Controller;

public abstract class Common extends Controller {

	@Before
	static void setUserInfo() {
		User user = User.getUser(session);
		if (user != null)
			renderArgs.put("user", user);
	}
}
